#include "../inc/a.h"
#include "../inc/b.h"
#include "../inc/findMinMax.h"
#include "../inc/GDC.h"


int main(int argc, char const *argv[])
{
    int x = 0 , y = 0;
    int sum = add(x , y);
    int k = multipliedy(x , y);
    int Gdc = gdc(x , y);

    printf("sum: %d , k: %d , Gdc: %d\n",sum , k ,Gdc);

    int arr[] = {12, 5, 8, 15, 7, 20, 10};
    int size = sizeof(arr) / sizeof(arr[0]);

    int maxValue, minValue, maxIndex, minIndex;
    findMinMax(arr, size, &maxValue, &minValue, &maxIndex, &minIndex);

    printf("Maximum value: %d\n", maxValue);
    printf("Maximum value index: %d\n", maxIndex);
    printf("Minimum value: %d\n", minValue);
    printf("Minimum value index: %d\n", minIndex);

    return 0;
}




